package lagou.mode3.mode4;

import java.util.Scanner;

public class ScannerClient {
    private static Scanner sc=new Scanner(System.in);

    //获取扫描器
    public static Scanner getScanner(){
        return sc;
    }

    //关闭扫描器
    public static void closeScanner(){
        sc.close();
    }
}
